#ifndef WIDGET2_H
#define WIDGET2_H

#include <QWidget>
#include <QString>
#include "project.h"

namespace Ui {
class Widget2;
}

class Widget2 : public QWidget
{
    Q_OBJECT

public:
    explicit Widget2(FlightBookingSystem& system,QWidget *parent = nullptr);
    ~Widget2();

    string flightNumber;

    int quantity=0;

     FlightBookingSystem& bookingSystem;

signals:
    void back();

private slots:
    void on_pushButton_determine_clicked();

    void on_pushButton_cancel_clicked();

    void on_lineEdit1_textChanged(const QString &arg1);

    void on_lineEdit2_textChanged(const QString &arg1);

private:
    Ui::Widget2 *ui;
};

#endif // WIDGET2_H
